#import <UIKit/UIKit.h>

enum {
    PIActionNone = 0,
    PIActionNext = 1,
    PIActionActive = 2,
    PIActionPlanning = 3,
    PIActionDelegated = 4,
    PIActionWaiting = 5,
    PIActionHold = 6,
    PIActionPostponed = 7,
    PIActionSomeday = 8,
    PIActionCancelled = 9,
    PIActionReference = 10
};

enum {
    PIImportanceNone = 0,
    PIImportanceTop = 1,
    PIImportanceHigh = 5,
    PIImportanceNormal = 10,
    PIImportanceLow = 15
};


@interface PIIntegration : NSObject

+(NSString*) iconFileForAction:(int)action;

+(UIColor*) topImportanceBGColorForPrefs:(NSDictionary*)prefs;
+(UIColor*) highImportanceBGColorForPrefs:(NSDictionary*)prefs;
+(UIColor*) normalImportanceBGColorForPrefs:(NSDictionary*)prefs;
+(UIColor*) lowImportanceBGColorForPrefs:(NSDictionary*)prefs;
+(UIColor*) overdueBGColorForPrefs:(NSDictionary*)prefs;

@end
